package com.ys.openapi.process;

/**
 * 分页查询已办列表请求
 */
public class RequestYBList {
    // //?workflowName=&workflowCode=&originator=&unitType=&instanceState=&startTime=&endTime=&page=0&size=20
        //workflowName=&workflowCode=&originator=&unitType=&instanceState=&startTime=&endTime=&page=0&size=20
    // &originatorName=&workflowTplName=&activityName=&participant=&participantName=&sequenceNo=
   private String workflowName="";
   private String workflowCode="";
   private String originator="";
   private String unitType="";
   private String instanceState="";
   private String startTime="";
   private String endTime="";
   private int page=0;
   private int size=20;
   private String originatorName="";
   private String workflowTplName="";
   private String activityName="";
   private String participant="";
   private String participantName="";
   private String sequenceNo="";

    public String getWorkflowName() {
        return workflowName;
    }

    public void setWorkflowName(String workflowName) {
        this.workflowName = workflowName;
    }

    public String getWorkflowCode() {
        return workflowCode;
    }

    public void setWorkflowCode(String workflowCode) {
        this.workflowCode = workflowCode;
    }

    public String getOriginator() {
        return originator;
    }

    public void setOriginator(String originator) {
        this.originator = originator;
    }

    public String getUnitType() {
        return unitType;
    }

    public void setUnitType(String unitType) {
        this.unitType = unitType;
    }

    public String getInstanceState() {
        return instanceState;
    }

    public void setInstanceState(String instanceState) {
        this.instanceState = instanceState;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getOriginatorName() {
        return originatorName;
    }

    public void setOriginatorName(String originatorName) {
        this.originatorName = originatorName;
    }

    public String getWorkflowTplName() {
        return workflowTplName;
    }

    public void setWorkflowTplName(String workflowTplName) {
        this.workflowTplName = workflowTplName;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getParticipant() {
        return participant;
    }

    public void setParticipant(String participant) {
        this.participant = participant;
    }

    public String getParticipantName() {
        return participantName;
    }

    public void setParticipantName(String participantName) {
        this.participantName = participantName;
    }

    public String getSequenceNo() {
        return sequenceNo;
    }

    public void setSequenceNo(String sequenceNo) {
        this.sequenceNo = sequenceNo;
    }

    @Override
    public String toString() {
        //&originatorName=&workflowTplName=&activityName=&participant=&participantName=&sequenceNo=
        return "?" +
                "workflowName=" + workflowName + "&workflowCode=" + workflowCode + "&originator=" + originator + "&unitType=" + unitType +"&instanceState=" + instanceState +
                "&startTime=" + startTime + "&endTime=" + endTime + "&page=" + page + "&size=" + size +
                "&originatorName="+originatorName+"&workflowTplName="+workflowTplName+"&activityName="+activityName+"&participant="+participant+
                "&participantName="+participantName+"&sequenceNo="+sequenceNo;
    }
}
